package com.qumitech.visualnovel.pubdef.dto.app;

import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.beans.BeanUtils;

import java.util.Date;

/**
 * @Author :  ZhChNing
 * @Descriptiom :
 * @Date Created in 2019/11/19 14:21
 */
public class ThirdBindCfgAdminDTO {

    public ThirdBindCfgAdminDTO(Integer bindType, Integer bindAppPackageFlag, String appPackageName, Integer deviceType, String thirdType) {
        this.bindType = bindType;
        this.bindAppPackageFlag = bindAppPackageFlag;
        this.appPackageName = appPackageName;
        this.deviceType = deviceType;
        this.thirdType = thirdType;
    }

    public ThirdBindCfgAdminDTO(String cfgId) {
        this.cfgId = cfgId;
    }

    public ThirdBindCfgAdminDTO() {
    }

    @JSONField(name = "bind_id")
    private String bindId;
    @JSONField(name = "cfg_id")
    private String cfgId;
    @JSONField(name = "app_name")
    private String appName;
    @JSONField(name = "bind_type")
    private Integer bindType;
    @JSONField(name = "bind_app_package_flag")
    private Integer bindAppPackageFlag;
    @JSONField(name = "app_package_name")
    private String appPackageName;
    @JSONField(name = "device_type")
    private Integer deviceType;
    @JSONField(name = "third_type")
    private String thirdType;
    @JSONField(name = "third_type_desc")
    private String thirdTypeDesc;
    @JSONField(name = "delete_flag")
    private Integer deleteFlag;
    @JSONField(name = "create_time")
    private Date createTime;
    @JSONField(name = "update_time")
    private Date updateTime;
    @JSONField(name = "operator")
    private String operator;

    public String getBindId() {
        return bindId;
    }

    public void setBindId(String bindId) {
        this.bindId = bindId;
    }

    public String getCfgId() {
        return cfgId;
    }

    public void setCfgId(String cfgId) {
        this.cfgId = cfgId;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public Integer getBindType() {
        return bindType;
    }

    public void setBindType(Integer bindType) {
        this.bindType = bindType;
    }

    public Integer getBindAppPackageFlag() {
        return bindAppPackageFlag;
    }

    public void setBindAppPackageFlag(Integer bindAppPackageFlag) {
        this.bindAppPackageFlag = bindAppPackageFlag;
    }

    public String getAppPackageName() {
        return appPackageName;
    }

    public void setAppPackageName(String appPackageName) {
        this.appPackageName = appPackageName;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public String getThirdType() {
        return thirdType;
    }

    public void setThirdType(String thirdType) {
        this.thirdType = thirdType;
    }

    public String getThirdTypeDesc() {
        return thirdTypeDesc;
    }

    public void setThirdTypeDesc(String thirdTypeDesc) {
        this.thirdTypeDesc = thirdTypeDesc;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

}
